package com.shuiyun.canal.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: base-canal
 * @description:
 * @author: shuiyun
 * @create: 2020-07-24 15:25
 **/
@Api(tags = "canal接口")
@RestController
@RequestMapping("canal")
public class CanalController {

    @GetMapping
    @ApiOperation("测试接口")
    public String test(){
        return "ok";
    }
}
